package zunyi09;

public class Test {
    public static void main(String[] args) {
        Table_tennis tt = new Table_tennis("张三",24);
        tt.eat();
        tt.sleep();
        tt.teach();
        tt.studyEnglish();
        System.out.println("-------------------------");
        Table_tennis_coach ttc= new Table_tennis_coach("里斯",33);
        ttc.eat();
        ttc.sleep();
        ttc.study();
        ttc.studyEnglish();
        System.out.println("-------------------------");
        Basketball bt = new Basketball("李四",21);
        bt.eat();
        bt.sleep();
        bt.teach();
        System.out.println("-------------------------");
        Basketball_Coach bc =new Basketball_Coach("姚明",46);
        bc.eat();
        bc.sleep();
        bc.study();

    }
}
